package com.secure.sample.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class UserGetDetailVO {

    private Integer id;

    private String name;

    private UserGetDetailVO child;

    private List<UserGetDetailVO> children;

    public UserGetDetailVO(Integer id, String name, UserGetDetailVO child, List<UserGetDetailVO> children) {
        this.id = id;
        this.name = name;
        this.child = child;
        this.children = children;
    }

    public UserGetDetailVO() {
    }

    public UserGetDetailVO(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
